package Part2_自定义泛型;

/**
 * ClassName: SubOrder3
 * Package: IntelliJ IDEA
 * Description:
 * Written by HanXu
 * Create 2024.04.18 16:41
 */

public class SubOrder3<T, E> extends Order<T>{
    //Order类中的泛型仍然不确定，子类中不确定的泛型又多了一个
    E e;

    public SubOrder3() {
    }

    public SubOrder3(E e) {
        this.e = e;
    }

    public SubOrder3(T t, int orderID, E e) {
        super(t, orderID);
        this.e = e;
    }

    public E getE() {
        return e;
    }

    public void setE(E e) {
        this.e = e;
    }
}
